//
//  Monkey_DefenseViewController.h
//  Monkey-Defense
//
//  Created by Robert Carlson on 9/15/11.
//  Copyright 2011 Carlson Systems. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GorillaView.h"
#import "ChimpView.h"
#import "TamarinView.h"
#import "MonkeyTemplateView.h"

@interface Monkey_DefenseViewController : UIViewController {
}

@property (nonatomic, retain) MonkeyView *monkeyToBuild;
@property (nonatomic) CGPoint originalTouch;
@property (nonatomic) CGRect attackField;
@property (nonatomic) CGRect spawnField;

//Game Events
-(void)drawMap;
-(void)beginGame;

//Template Code
-(void)drawTemplates;
-(void)setupMonkeyTemplateEvents:(MonkeyTemplateView*)monkeyTemplateView;
-(void)clickMonkeyTemplate:(MonkeyTemplateView*)sender event:(UIEvent*)event;
-(void)createMonkeyFromTemplate:(MonkeyTemplateView*)sender event:(UIEvent*)event;
-(void)placeMonkeyFromTemplate:(MonkeyTemplateView*)sender event:(UIEvent*)event;
-(void)undoMonkeyFromTemplate:(MonkeyTemplateView*)sender event:(UIEvent *)event;

//General Code
-(void)pursue:(UnitView*)unitView;

//Enemy Code
-(void)spawnEnemyMonkey;

@end
